package com.itlaobing.tracing.cookie;

class Chinese{
    private static Chinese objref = new Chinese();
    private Chinese(){ }
    public static Chinese getInstance(){
        return objref;
    }
}
public class TestChinese {
    public static void main(String[] args) {
        Chinese o1 = Chinese.getInstance();
        Chinese o2 = Chinese.getInstance();
        System.out.println(o1==o2);
    }
}
